package Servlet.Blog.service.impl;

import Servlet.Blog.dao.UserDao;
import Servlet.Blog.dao.impl.UserDaoImpl;
import Servlet.Blog.entity.User;
import Servlet.Blog.service.UserService;

import java.util.List;

/**
 * @author liyy
 * @description
 * @time 2020/10/12 11:46
 */
public class UserServiceImpl implements UserService {

    UserDao userDao = new UserDaoImpl();

    @Override
    public List<User> queryUserList() {

        return userDao.queryUserList();
    }

    @Override
    public int addUser(User BlogUser) {
        return 0;
    }

    @Override
    public int delUserById(Integer id) {
        return 0;
    }

    @Override
    public int updateUser(User user) {
        return 0;
    }

    @Override
    public User getUserById(Integer id) {
        return null;
    }
}
